<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
	<title>用户列表</title>
	<link href="/study/Public/bootstrap/css/bootstrap.min.css" rel="stylesheet">
	<link rel="stylesheet" href="/study/Public/bootstrap/css/bootstrap-theme.min.css">
    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="/study/Public/bootstrap/js/jquery.min.js"></script>
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="/study/Public/bootstrap/js/bootstrap.min.js"></script>
	
</head>
<body>

<?php echo '<h1>'.$stuprac[0]['pname'].'活动管理页面'.'</h1>'?>
<table class='table table-bordered'>
<tr>
<th>所属活动</th>
<th>学号</th>
<th>报名时间</th>
<th>状态</th>
<th>操作</th>
</tr>
<?php if(is_array($practices)): $i = 0; $__LIST__ = $practices;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
<th><?php echo ($vo["pid"]); ?></th>	
<th><?php echo ($vo["stunum"]); ?></th>
<th><?php echo ($vo["atime"]); ?></th>
<th><?php if($vo["state"] == 0): ?>不通过
		<?php else: ?>通过<?php endif; ?></th>
		<th>
            <div class="btn-group">
                <a class="btn btn-small dropdown-toggle" data-toggle="dropdown" href="#">
                   操作
                 <span class="caret"></span>
                  </a>
                 <ul class="dropdown-menu pull-right">
                 <li>
                <?php if($vo["state"] == 0): ?><a href="setsjy?id=<?php echo ($vo["sid"]); ?>"><i class="icon-trash">通过</i></a>
                    <?php else: ?><a href="delsjy?id=<?php echo ($vo["sid"]); ?>"><i class="icon-trash">不通过</i></a><?php endif; ?>
                     </a></li>
                     </ul>

    </th> </tr><?php endforeach; endif; else: echo "" ;endif; ?>
    </table>
</body>
</html>